import { Vector3, MathUtils } from 'three';

/**
 * 
 * 太阳
 * 
 */
export class Sun {

    vector: Vector3 = new Vector3();
    phi: number = 0;
    theta: number = MathUtils.degToRad(180);

    constructor() {
        
    }

    update() {

        const phi = MathUtils.degToRad(45);

        this.vector.setFromSphericalCoords(1, phi, this.theta);
    }

}